package com.ydy.threadpool.task;

import com.ydy.service.auth.AuthService;

public class RefreshAuthTask implements Runnable {

	private AuthService authService;

	public RefreshAuthTask(AuthService authService) {
		this.authService = authService;
	}

	@Override
	public void run() {
		if (this.authService == null)
			return;
		authService.refresh();
	}

}
